package com.example.androidhive;

import android.app.Activity;
import android.app.ProgressDialog;
import android.os.AsyncTask;

public class URLFunction extends AsyncTask<String,String,String> {

	// Progress Dialog
	private ProgressDialog pDialog;

	JSONParser jsonParser = new JSONParser();
	Activity a;
	int screen;
	@Override
	protected void onPreExecute() {
		super.onPreExecute();
		switch(screen){
		case 0:
		//	pDialog = new ProgressDialog(Logowanie.this);
			pDialog.setMessage("Rezerwowanie..");
			break;
		}
		pDialog.setIndeterminate(false);
		pDialog.setCancelable(true);
		pDialog.show();
	}
	@Override
	protected String doInBackground(String... arg0) {
		// TODO Auto-generated method stub
		return null;
	}

}
